﻿using System.Windows.Controls;

using Matchingo.Common.Types.Types;

namespace Matchingo.Common.Types.Interfaces
{
    /// <summary>
    /// Provides a Card UserControl given a Card and any resources required by the Card UserControl
    /// </summary>
    public interface ICardUserControlFactory
    {
        /// <summary>
        /// Gets a Card UserControl
        /// </summary>
        /// <param name="c">The Card from which the Card UserControl is derived</param>
        /// <param name="frontImage">The image of the front of the card for the Card UserControl to use</param>
        /// <returns>A Card UserControl based on the provided parameters</returns>
        UserControl GetCardUserControl(Card c, Image frontImage);
    }
}
